package com.engineering.elink.hierdao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.co.BaseCo;
import com.engineering.elink.co.HierCo;
import com.engineering.elink.domain.hier.PlannHier;
import com.engineering.elink.vo.EnginPostBarCountVo;
import com.engineering.elink.vo.EnginPostBarVo;
import com.engineering.elink.vo.PlannHierCountVo;
import com.engineering.elink.vo.PlannHierVo;
import com.engineering.elink.vo.SkillFileVo;

public interface PlannHierMapper {
    int deleteByPrimaryKey(Integer hierId);

    int insert(PlannHier record);

    int insertSelective(PlannHier record);

    PlannHier selectByPrimaryKey(Integer hierId);

    int updateByPrimaryKeySelective(PlannHier record);

    int updateByPrimaryKeyWithBLOBs(PlannHier record);

    int updateByPrimaryKey(PlannHier record);
    
    List<PlannHierCountVo> selectList(@Param("co")BaseCo co);
    
    int selectCount();
    
    PlannHierCountVo selectInfo(Integer hierId);
    
    List<PlannHierVo> selectCareerPlann(@Param("co")BaseCo co);
    
    int countCareerPlann(@Param("co")BaseCo co);

    List<SkillFileVo> selectHierFile(@Param("co")HierCo co);
    
    int selectHierFileCount(@Param("co")HierCo co);

    List<SkillFileVo> selectEnginHomeFile(Map<String,Object> map);

	List<EnginPostBarVo> selectPostBarByCatetory(Map<String,Object> map);

	List<EnginPostBarVo> selectPostBarByProfe(Map<String,Object> map);

	List<EnginPostBarCountVo> selectEnginPostBarCount();
    
}